file( GLOB cm_nat_src  *.cpp )

include_directories( ../cm_base
                     ../cm_xmpp
                     ${CM_OPENSSL_DIR}/include
                     ${CM_POCO_DIR}/Foundation/include 
                     ${CM_POCO_DIR}/Util/include 
                     ${CM_POCO_DIR}/Net/include 
                     ${CM_POCO_DIR}/Crypto/include 
                     ${CM_POCO_DIR}/NetSSL_OpenSSL/include )


link_directories( ${CM_POCO_DIR}/lib/Linux/ARM ${CM_OPENSSL_DIR}/lib)

ADD_LIBRARY(cm_nat STATIC ${cm_nat_src})

target_link_libraries(cm_nat cm_base cm_xmpp pthread rt PocoFoundationd PocoUtild PocoNetd PocoNetSSLd crypto ssl )
